<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

require_once ("session_controller.php");

class Admin_controller extends Session_controller{
	public function __construct(){
		parent::__construct();
		if(strcmp($this->data['jugador']->rol, "admin") != 0){
			redirect('errores/forbidden', 'refresh');
		}
	}
}
